namespace UniversalAdmin.Domain.Entities;

//菜单实体类
public class Menu : BaseEntity
{
    public string Name { get; set; } = string.Empty; //菜单名称
    public string Path { get; set; } = string.Empty; //菜单路径
    public string? Icon { get; set; } = string.Empty; //菜单图标
    public Guid? ParentId { get; set; } //父级菜单ID
    public int SortOrder { get; set; } //排序

    public List<MenuRole> MenuRoles { get; set; } = new(); //菜单角色关系


}

